package org.starapp.generator;

public enum DBTypeEnum {
	BIGINT("Long"),
	VARCHAR("String"),
	TIMESTAMP("Date");
	
	private String value;

	DBTypeEnum(String value) {
		this.value=value;
	}
	public static String getType(String key){
		for(DBTypeEnum type:DBTypeEnum.values()){
			if(type.name().equals(key)){
				return type.value;
			}
		}
		return "";
	}
}
